The request body is of type GetAvailablePaymentMethods.
Method | GetAvailablePaymentMethods |
The request body is of type GetAvailablePaymentMethods.
// Example: Gets all available payment methods // to the current Shopper's customer class // on the Site they are visiting MakeAJAXCall("Order.GetAvailablePaymentMethods", null, console.log);
The response body is of type GetAvailablePaymentMethodsResponse.
Name | Description | Data Type |
---|---|---|
GetAvailablePaymentMethodsResult | A string value containing a JSON object. // Example: Array of two available payment methods for // "Invoice" and "Credit Card" options. [{ "MethodName": "Invoice", "PaymentMethod_ID": 1, "MethodType": "IN", "PODisplay": "R", "ReferenceLabel": "Your PO #", "InvoiceTerm_Code": "" }, { "MethodName": "Credit Card", "PaymentMethod_ID": 2, "MethodType": "CC", "PODisplay": "Y", "ReferenceLabel": "PO Number (optional)", "InvoiceTerm_Code": "" }] | xml:string |